<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
	<meta  charset="utf-8"/>
    <meta name="description" content="U联赛是中国大学生" />
    <meta name="Keyword" content="U联赛，大学生篮球联赛，大学篮球，篮球联赛" />
	<title>球队数据-历史数据</title>
	<link rel="stylesheet" type="text/css" href="../../../admin/site/common/css/global.css" />
    <script type="text/javascript" src="../../../admin/site/common/js/jquery-1.11.1.min.js"></script>
	
</head>
<body>
	<div class="page">
		<div class="toper">
		</div><!--顶部广告banner-->
		<div class="header" id="header">
			<input id="sessionWeixin" type="hidden" th:value="${session.indexWeixin}"/>
			<input id="sessionFans" type="hidden" th:value="${session.indexFans}"/>
			<input id="sessionUser" type="hidden" th:value="${session.user==null?'1':'2'}"/>
			<input id="sessionUserName" type="hidden" th:if="${session.user!=null &amp;&amp; session.user.userName != null}" th:value="${session.user.userName}"/>		
		</div><!--复合导航栏-->
		<div class="bodymain">
			<div class="bdsharebuttonbox quicklink" id="fenxiang">
				<!-- 此处分享代码 -->
			</div>
			<div class="data-nav">
				<a th:href="@{/index.html}">ULeague</a><span>></span><a href="teamDataList.html">数据</a><span>></span><a href="teamDataList.html">数据球队</a><span>></span><a class="data-nav-now" href="#">球队历史数据</a>
			</div>
			<div class="data-intro-t">
				<div class="data-introleft">
					<img class="data-teamimg" th:src="${team.logUrl2}"/>
					<div class="data-detail">
						<!-- <div class="data-iltitle" th:text="${team.schoolName}"><div class="data-teamname"><span class="data-teamspan" th:text="${'球队：'+team.name}"></span></div></div> -->
						<div class="data-iltitle" th:text="${team.schoolName}">
						  
						</div>
						<div class="data-teamname">
						  <span class="data-teamspan" th:text="${'球队：'+team.teamName}">
						  </span>
						  </div>
						
						<div class="data-intro">
						   <span th:text="${team.introduction}"></span>
						</div>
					</div>
				</div>
				<div class="data-introright">
					<a th:href="${footerAdvert.advertUrl}" target="_black" th:each="footerAdvert:${footerAdvertPage.result}">
						  <img th:src="${footerAdvert.advertImg}" />
					</a>	
				</div>
			</div>
			<ul class="tabnav">
				<li class="tab first seasonDate">本季数据</li>
				<li class="tab tabon historyDate">历史数据</li>
				<li class="tabblank"></li>
			</ul>
			<input type="hidden" th:value="${id}" id="team_id" />
			<div class="selnav">
				<div class="sellabel sellabellight">赛季:
				</div>
				<div class="selone">
					<div class="sellight" th:text="${pDate}"></div>
					<ul class="selul selulight" >
						<li th:each="seasonName:${competitionSeasonList}">
						   <span  th:text="${seasonName.name}" th:value="${seasonName.id}" th:id="${seasonName.id}" class="querySeasonId"></span>
						   <input type="hidden" th:id="'seasonId-'+${seasonName.id}"  th:value="${seasonName.id}" />
						</li>
					</ul>
				</div>
			</div>
			<div class="data-table">
				<table class="tablenav">
					<caption th:if="${pDate!=null}" th:text="${pDate}">
						
					</caption>
					<thead>
						<tr>
							<td rowspan="2">比赛时间</td>
							<td rowspan="2">对手</td>
							<td class="tn-bottom" rowspan="1" colspan="3">罚球</td>
							<td class="tn-bottom" rowspan="1" colspan="3">2分</td>
							<td class="tn-bottom" rowspan="1" colspan="3">3分</td>
							<td rowspan="2">篮板前</td>
							<td rowspan="2">篮板后</td>
							<td rowspan="2">篮板总数</td>
							<td rowspan="2">助攻</td>
							<td rowspan="2">抢断</td>
							<td rowspan="2">封盖</td>
							<td rowspan="2">失误</td>
							<td rowspan="2">犯规</td>
							<td rowspan="2">总得分</td>
							<td rowspan="2">总命中率</td>
						</tr>
						<tr>
							<td>投</td>
							<td>中</td>
							<td>命中率</td>
							<td>投</td>
							<td>中</td>
							<td>命中率</td>
							<td>投</td>
							<td>中</td>
							<td>命中率</td>
						</tr>
					</thead>
					<tbody>
						<tr th:each="teamDate:${teamDates}">
							<td th:text="${teamDate.matchDate}"></td>
							<td th:text="${teamDate.teamName}"></td>
							<td th:text="${teamDate.freeThrowTotal}"></td>
							<td th:text="${teamDate.freeThrowHitTotal}"></td>
							<td th:text="${teamDate.freeThrowHitRate+'%'}"></td>
							
							<td th:text="${teamDate.twoPointsTotal}"></td>
							<td th:text="${teamDate.twoPointsHitTotal}"></td>
							<td th:text="${teamDate.twoPointsHitRate+'%'}"></td>
							
							<td th:text="${teamDate.threePointsTotal}"></td>
							<td th:text="${teamDate.threePointsHitTotal}"></td>
							<td th:text="${teamDate.threePointsHitRate+'%'}"></td>
							
							<td th:text="${teamDate.frontBackboard}"></td>
							<td th:text="${teamDate.backBackboard}"></td>
							<td th:text="${teamDate.backboard}"></td>
							
							<td th:text="${teamDate.assistsAsts}"></td>
							<td th:text="${teamDate.steals}"></td>
							<td th:text="${teamDate.capping}"></td>
							<td th:text="${teamDate.fault}"></td>
							<td th:text="${teamDate.foul}"></td>
							<td th:text="${teamDate.totalScore}"></td>
							<td th:text="${teamDate.totalHit+'%'}"></td>
						</tr>
						
						
					</tbody>
				</table>
			</div>
			
			<div class="mainbottomblank">
			</div>
		</div>
		<div class="footer  unblanfoot" id="footer" th:utext="${session.indexFooter}">
			
		</div><!--页面底部-->	
	</div>
</body>
	<script type="text/javascript" src="../../../admin/site/common/js/header.js"></script>
	<script type="text/javascript">
	$(function(){
		$('.selulight li').hover(function(){$(this).addClass('hovon')},function(){$(this).removeClass('hovon')});
		$('.selulight li').on('click',function(){$(this).parent().slideToggle('fast').parent().find('.sellight').text($(this).text())});
		$('.sellight').on('click',function(){$(this).next().slideToggle('fast')});
		
		$(".historyDate").click(function(){
			var id=$("#team_id").val();
			window.location.href = "/teamDate/teamDateHistoryList.html?id="+id;
			
		});
		
		$(".seasonDate").click(function(){
			var id=$("#team_id").val();
			window.location.href = "/teamDate/teamDateSeasonList.html?id="+id;
			
		});
		
		$(".querySeasonId").click(function(e){
			var id=$("#team_id").val();
			var seasonId=$("#seasonId-" + e.currentTarget.id).val();
			window.location.href = "/teamDate/teamDateHistoryList.html?seasonId="+seasonId+ decodeURIComponent("%26")+"id="+id;
		});
		
		$("#nav-data").attr("class","nav-clickon");
	});
	</script>
</html>
